using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cuahsi.Data.Interop.WaterML2
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/waterml/2.0")]
    [DataContract(Name = "TVPMetadataPropertyType", Namespace = "http://www.opengis.net/waterml/2.0")]
    public partial class TVPMetadataPropertyType
    {

        private TVPMetadataType tVPMetadataField;

        private bool ownsField;

        public TVPMetadataPropertyType()
        {
            this.tVPMetadataField = new TVPMetadataType();
            this.ownsField = false;
        }

        [DataMember()]
        public TVPMetadataType TVPMetadata
        {
            get
            {
                return this.tVPMetadataField;
            }
            set
            {
                this.tVPMetadataField = value;
            }
        }

        [XmlAttribute()]
        [DefaultValue(false)]
        [DataMember()]
        public bool owns
        {
            get
            {
                return this.ownsField;
            }
            set
            {
                this.ownsField = value;
            }
        }
    }
}